package com.kaka.bus.bean;

import java.util.List;

/**
 * Created by OnionMac on 2018/1/9.
 */

public class ProductInfo {


    /**
     * product : [{"id":24,"deviceFlag":"android","productName":"测试2","productDescription":"123","productIcon":"http://192.168.1.63/group1/M01/00/17/wKgBP1pQqpOAQ65_AAGSMY-I2f4714.png","remark":"A","ransom":2,"rent":123,"penaltyRate":321,"deposit":100,"repaymentMethod":"A","status":"A","creationDate":"Jan 6, 2018 1:43:42 PM","creationUser":"SH2129","updateDate":"Jan 17, 2018 11:42:28 AM","updateUser":"SH2129"}]
     * codeValue : [{"id":165,"codeType":"phone_services","codeCode":"rent_phone","meaning":"租手机","description":"您可以继续回租您的手机使用28天，分为4期，每期租金为315元，押金300元","enabledFlag":"y","sync":"A"},{"id":166,"codeType":"phone_services","codeCode":"recycle_phone","meaning":"回收手机","enabledFlag":"y","sync":"A"}]
     */

    private List<ProductEntity> product;
    private List<CodeValueEntity> codeValue;

    public void setProduct(List<ProductEntity> product) {
        this.product = product;
    }

    public void setCodeValue(List<CodeValueEntity> codeValue) {
        this.codeValue = codeValue;
    }

    public List<ProductEntity> getProduct() {
        return product;
    }

    public List<CodeValueEntity> getCodeValue() {
        return codeValue;
    }

    public static class ProductEntity {
        /**
         * id : 24
         * deviceFlag : android
         * productName : 测试2
         * productDescription : 123
         * productIcon : http://192.168.1.63/group1/M01/00/17/wKgBP1pQqpOAQ65_AAGSMY-I2f4714.png
         * remark : A
         * ransom : 2.0
         * rent : 123.0
         * penaltyRate : 321.0
         * deposit : 100.0
         * repaymentMethod : A
         * status : A
         * creationDate : Jan 6, 2018 1:43:42 PM
         * creationUser : SH2129
         * updateDate : Jan 17, 2018 11:42:28 AM
         * updateUser : SH2129
         */

        private String id;
        private String deviceFlag;
        private String productName;
        private String productDescription;
        private String productIcon;
        private String remark;
        private String ransom;
        private String rent;
        private String penaltyRate;
        private String deposit;
        private String repaymentMethod;
        private String status;
        private String creationDate;
        private String creationUser;
        private String updateDate;
        private String updateUser;
        private String amount;

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getDeviceFlag() {
            return deviceFlag;
        }

        public void setDeviceFlag(String deviceFlag) {
            this.deviceFlag = deviceFlag;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public String getProductDescription() {
            return productDescription;
        }

        public void setProductDescription(String productDescription) {
            this.productDescription = productDescription;
        }

        public String getProductIcon() {
            return productIcon;
        }

        public void setProductIcon(String productIcon) {
            this.productIcon = productIcon;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public String getRansom() {
            return ransom;
        }

        public void setRansom(String ransom) {
            this.ransom = ransom;
        }

        public String getRent() {
            return rent;
        }

        public void setRent(String rent) {
            this.rent = rent;
        }

        public String getPenaltyRate() {
            return penaltyRate;
        }

        public void setPenaltyRate(String penaltyRate) {
            this.penaltyRate = penaltyRate;
        }

        public String getDeposit() {
            return deposit;
        }

        public void setDeposit(String deposit) {
            this.deposit = deposit;
        }

        public String getRepaymentMethod() {
            return repaymentMethod;
        }

        public void setRepaymentMethod(String repaymentMethod) {
            this.repaymentMethod = repaymentMethod;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getCreationDate() {
            return creationDate;
        }

        public void setCreationDate(String creationDate) {
            this.creationDate = creationDate;
        }

        public String getCreationUser() {
            return creationUser;
        }

        public void setCreationUser(String creationUser) {
            this.creationUser = creationUser;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }
    }

    public static class CodeValueEntity {
        /**
         * id : 165
         * codeType : phone_services
         * codeCode : rent_phone
         * meaning : 租手机
         * description : 您可以继续回租您的手机使用28天，分为4期，每期租金为315元，押金300元
         * enabledFlag : y
         * sync : A
         */

        private String id;
        private String codeType;
        private String codeCode;
        private String meaning;
        private String descriptions;
        private String enabledFlag;
        private String sync;

        public void setId(String id) {
            this.id = id;
        }

        public void setCodeType(String codeType) {
            this.codeType = codeType;
        }

        public void setCodeCode(String codeCode) {
            this.codeCode = codeCode;
        }

        public void setMeaning(String meaning) {
            this.meaning = meaning;
        }

        public String getDescriptions() {
            return descriptions;
        }

        public void setDescriptions(String descriptions) {
            this.descriptions = descriptions;
        }

        public void setEnabledFlag(String enabledFlag) {
            this.enabledFlag = enabledFlag;
        }

        public void setSync(String sync) {
            this.sync = sync;
        }

        public String getId() {
            return id;
        }

        public String getCodeType() {
            return codeType;
        }

        public String getCodeCode() {
            return codeCode;
        }

        public String getMeaning() {
            return meaning;
        }

        public String getEnabledFlag() {
            return enabledFlag;
        }

        public String getSync() {
            return sync;
        }
    }
}
